<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Checking Whether the mysql Service Has Been Installed on the TDSQL Data Node">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002200060005.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002164659246">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Checking Whether the mysql Service Has Been Installed on the TDSQL Data Node</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002164659246"></a><a name="EN-US_TOPIC_0000002164659246"></a>
  <h1 class="topictitle1">Checking Whether the mysql Service Has Been Installed on the TDSQL Data Node</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Use PuTTY to log in to the TDSQL data node as user <strong>root</strong>.</span></li>
     <li><span>Run the following command to check whether the mysql service has been installed:</span><p></p><pre class="screen">ps -ef | grep mysql | grep <em>Instance port</em></pre>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p id="EN-US_TOPIC_0000002164659246__en-us_topic_0000002200059929_p0531123013256">Replace <em id="EN-US_TOPIC_0000002164659246__en-us_topic_0000002200059929_i182744371259">Instance port</em> with the actual value obtained from the <strong id="EN-US_TOPIC_0000002164659246__en-us_topic_0000002200059929_b16441825203016">DB monitoring</strong> page after selecting an instance on the <strong id="EN-US_TOPIC_0000002164659246__en-us_topic_0000002200059929_b136602019297">Instance management</strong> page of the TDSQL CHITU management console.</p>
       </div>
      </div> <p>Example:</p> <pre class="screen">ps -ef | grep mysql | grep <em>4007</em></pre> <p>If information similar to the following is displayed, the mysql service has been installed. Otherwise, the mysql service is not installed.</p> <p><span><img src="en-us_image_0000002164818986.png"></span></p> <p></p></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002200060005.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>